#ifndef MYSCENERY_H
#define MYSCENERY_H

#include "MyUniversal.h"
#include "MyDefinitions.h"
#include "MyGame.h"
#include "MyEngine.h"

class MyGame;

/*! 
 *  \class MyScenery
 *  \brief class for drawing scenery and background, useful for scrolling
 *  \author Peter Kosa
 *  \version 1.52
 *  \date    2006-2008
 */
class MyScenery
{
public:
	MyScenery(MyGame*);
	~MyScenery();
	/*! load images from disk */
	void load_imgs();
	/*! draw this bg & sky */
	void draw_scenery(int _t);
	/*! move sky */
	void add_offset_sky(int _offset);
	/*! move background */
	void add_offset_bg(int _offset);	
private: 
	int total_width_bg, total_width_sky, offset_bg, off_sky_1, off_sky_2;
	MyGame* parent;
	SDL_Surface *backSheet;				//background surface
	SDL_Surface *skySheet;				//sky surface					
	bool scrolling;
	bool still_first;
};
#endif